#ifndef SECONDWINDOW_H
#define SECONDWINDOW_H

#include <QMainWindow>
#include"thirdwindow.h"
#include"secondwindowNVE.h"
#include"secondwindowNVT.h"
class secondwindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit secondwindow(QWidget *parent = nullptr);
    void paintEvent(QPaintEvent *);
    void CalcVertexes(double startX, double startY, double endX, double endY, double& x1, double& y1, double& x2, double& y2);
 public:
        secondwindowNVE * NVE = NULL;
        secondwindowNVT * NVT = NULL;
public:
   // thirdwindow * third = NULL;

signals:
    void secondBack();

};

#endif // SECONDWINDOW_H
